//
// Created by Administrator on 2021/12/5.
//

#ifndef MARCHING_CUBES_VOLUME_H
#define MARCHING_CUBES_VOLUME_H

#include "Noise.h"

class RawData {
    const int N = 50;

    float *field;

public:
    RawData() {
        field = new float[N * N * N];
    }

    ~RawData() {
        delete[] field;
    }

    float *get_field() {
        return field;
    }

    int get_n() const {
        return N;
    }
};

class Volume {
public:
    static RawData *generate();
};


#endif //MARCHING_CUBES_VOLUME_H
